﻿//Copyright (C) <2013>  <jonathan cleeve norton> All Rights Reserved 
//Contact jon.norton@fin-plus.co.uk website <http://www.fin-plus.co.uk/>

namespace FinPlusInterfaces
{
    public interface ITransport
    {
        IListener Listener { get; }

        string Publish(IMessage message);

        void Listen(string topic, bool requestCache = false);

        void Dispose();
    }
}
